package com.lyu.travel.core.service;

import com.lyu.travel.core.entity.Place;

import java.util.List;

/**
 * @ProjectName: [travel]
 * @Package: [com.lyu.travel.core.service]
 * @ClassName: [PlaceService]
 * @Description: 景点业务接口
 * @Author: [78483]
 * @CreateDate: [2020-06-14 10:12]
 * @UpdateUser: [78483]
 * @UpdateDate: [2020-06-14 10:12]
 * @UpdateRemark: [说明本次修改内容]
 * @Version: [v1.0]
 */
public interface PlaceService {
    List<Place> findAll();
    List<Place> findPlaceByid(int id);
    Place findPlaceByname(String name);
    int insert(Place place);
    int deletePlaceById(int id);
    int updatePlace(Place place);
}
